/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;
/**
 *
 * @author Chong
 */
import java.awt.Image;
import java.net.URL;
import javax.swing.ImageIcon;

public class Wall extends GameObject {

    public Wall(Location p) {
        super(p);
        URL loc = this.getClass().getResource("wall.png");
        Image image = new ImageIcon(loc).getImage();
        super.setImage(image);
    }
}
